
var game_file_list = [
    //以下为自动修改，请勿修改
    //----auto game_file_list ready----
	"libs/modules/egret/egret.js",
	"libs/modules/egret/egret.native.js",
	"libs/modules/eui/eui.js",
	"libs/modules/res/res.js",
	"libs/modules/game/game.js",
	"libs/modules/game/game.native.js",
	"libs/modules/socket/socket.js",
	"libs/modules/tween/tween.js",
	"libs/modules/weixinapi/weixinapi.js",
	"bin-debug/acelab-h5/Acekit.js",
	"bin-debug/acelab-h5/component/NotifyEvent.js",
	"bin-debug/acelab-h5/component/ComponentEx.js",
	"bin-debug/acelab-h5/component/HashMap.js",
	"bin-debug/acelab-h5/constant/GameAlign.js",
	"bin-debug/acelab-h5/constant/color.js",
	"bin-debug/acelab-h5/constant/GameDir.js",
	"bin-debug/acelab-h5/constant/Gender.js",
	"bin-debug/acelab-h5/constant/Language.js",
	"bin-debug/acelab-h5/constant/Quality.js",
	"bin-debug/acelab-h5/constant/GameTime.js",
	"bin-debug/acelab-h5/effect/BaseEffect.js",
	"bin-debug/acelab-h5/effect/display/GradientEffect.js",
	"bin-debug/acelab-h5/effect/display/ScalingEffect.js",
	"bin-debug/acelab-h5/effect/DisplayEffect.js",
	"bin-debug/acelab-h5/effect/text/TextEffect.js",
	"bin-debug/acelab-h5/manager/HttpManager.js",
	"bin-debug/acelab-h5/manager/TimerManager.js",
	"bin-debug/acelab-h5/utils/StringTesting.js",
	"bin-debug/acelab-h5/utils/FactoryUtils.js",
	"bin-debug/acelab-h5/utils/ObjectTesting.js",
	"bin-debug/acelab-h5/utils/NumberUtils.js",
	"bin-debug/acelab-h5/utils/StringUtils.js",
	"bin-debug/acelab-h5/vo/BaseVo.js",
	"bin-debug/acelab-h5/vo/BaseCharVo.js",
	"bin-debug/component/EButton.js",
	"bin-debug/component/ECheckBox.js",
	"bin-debug/component/HSliderEx.js",
	"bin-debug/component/EImage.js",
	"bin-debug/component/ERadio.js",
	"bin-debug/component/ETextField.js",
	"bin-debug/config/EffectEvent.js",
	"bin-debug/config/EventType.js",
	"bin-debug/config/GameConfig.js",
	"bin-debug/config/GameConst.js",
	"bin-debug/config/GameStorage.js",
	"bin-debug/config/GameMusic.js",
	"bin-debug/config/GamePai.js",
	"bin-debug/config/GameSound.js",
	"bin-debug/config/GameType.js",
	"bin-debug/game/base/BaseUpdate.js",
	"bin-debug/game/buycard/Card.js",
	"bin-debug/game/buycard/CardView.js",
	"bin-debug/game/data/GSData.js",
	"bin-debug/game/data/GSDataProxy.js",
	"bin-debug/game/FashionTools.js",
	"bin-debug/game/GameRes.js",
	"bin-debug/game/GSConfig.js",
	"bin-debug/game/GSController.js",
	"bin-debug/game/GSUpdate.js",
	"bin-debug/game/interface/IAnimation.js",
	"bin-debug/game/interface/IFuncSelectClick.js",
	"bin-debug/game/interface/IGame.js",
	"bin-debug/game/interface/IGameTapEvent.js",
	"bin-debug/game/interface/IResultTapEvent.js",
	"bin-debug/game/interface/ISceneTapEvent.js",
	"bin-debug/game/interface/IShow.js",
	"bin-debug/game/interface/IState.js",
	"bin-debug/game/interface/IUpdate.js",
	"bin-debug/game/interface/IUpdatePlus.js",
	"bin-debug/game/PublicVal.js",
	"bin-debug/game/Replayer.js",
	"bin-debug/game/state/BaseState.js",
	"bin-debug/game/state/group/State_CardPutline.js",
	"bin-debug/game/state/group/State_FuncSelect.js",
	"bin-debug/game/state/group/State_HeadToTarget.js",
	"bin-debug/game/state/group/State_ReadyPlay.js",
	"bin-debug/game/state/group/State_ToPlay.js",
	"bin-debug/game/state/group/State_TurnCatch.js",
	"bin-debug/game/state/GSState.js",
	"bin-debug/game/state/GSStateMgr.js",
	"bin-debug/game/StateTrigger.js",
	"bin-debug/game/TouchBehaviour.js",
	"bin-debug/game/view/GameSceneBao.js",
	"bin-debug/game/view/GameSceneCenter.js",
	"bin-debug/game/view/FuncEffectView.js",
	"bin-debug/game/view/FuncSelectView.js",
	"bin-debug/game/view/ResultScene.js",
	"bin-debug/game/view/RoomScene.js",
	"bin-debug/game/view/FinishItem.js",
	"bin-debug/game/view/FinishScene.js",
	"bin-debug/game/view/GameScene.js",
	"bin-debug/game/view/MJView.js",
	"bin-debug/view/ComponentEx.js",
	"bin-debug/game/view/PersonItem.js",
	"bin-debug/game/view/RoomSceneMenuReplay.js",
	"bin-debug/game/view/TimeEffectView.js",
	"bin-debug/manager/gameManager.js",
	"bin-debug/Game.js",
	"bin-debug/Main.js",
	"bin-debug/manager/BaseManager.js",
	"bin-debug/manager/EffectManager.js",
	"bin-debug/manager/LayerManager.js",
	"bin-debug/manager/SceneManager.js",
	"bin-debug/manager/PanelManager.js",
	"bin-debug/network/agreement/GameParse.js",
	"bin-debug/network/agreement/Cmd.js",
	"bin-debug/network/agreement/request/_1.js",
	"bin-debug/network/agreement/request/_10.js",
	"bin-debug/network/agreement/C2S/_11.js",
	"bin-debug/network/agreement/C2S/_12.js",
	"bin-debug/network/agreement/C2S/_13.js",
	"bin-debug/message/agreement/request/_14.js",
	"bin-debug/message/agreement/C2S/_15.js",
	"bin-debug/message/agreement/request/_16.js",
	"bin-debug/message/agreement/C2S/_17.js",
	"bin-debug/message/agreement/C2S/_18.js",
	"bin-debug/message/agreement/request/_19.js",
	"bin-debug/message/agreement/request/_2.js",
	"bin-debug/message/agreement/request/_20.js",
	"bin-debug/message/agreement/C2S/_21.js",
	"bin-debug/message/agreement/request/_22.js",
	"bin-debug/message/agreement/request/_23.js",
	"bin-debug/message/agreement/C2S/_24.js",
	"bin-debug/message/agreement/request/_25.js",
	"bin-debug/message/agreement/request/_26.js",
	"bin-debug/message/agreement/C2S/_27.js",
	"bin-debug/message/agreement/request/_3.js",
	"bin-debug/message/agreement/C2S/_4.js",
	"bin-debug/message/agreement/request/_5.js",
	"bin-debug/message/agreement/request/_6.js",
	"bin-debug/message/agreement/C2S/_7.js",
	"bin-debug/message/agreement/request/_8.js",
	"bin-debug/message/agreement/C2S/_9.js",
	"bin-debug/message/agreement/S2C/S1.js",
	"bin-debug/message/agreement/S2C/S10.js",
	"bin-debug/message/agreement/S2C/S11.js",
	"bin-debug/message/agreement/S2C/S12.js",
	"bin-debug/message/agreement/S2C/S13.js",
	"bin-debug/message/agreement/S2C/S14.js",
	"bin-debug/message/agreement/S2C/S15.js",
	"bin-debug/message/agreement/S2C/S16.js",
	"bin-debug/message/agreement/S2C/S17.js",
	"bin-debug/message/agreement/S2C/S18.js",
	"bin-debug/message/agreement/S2C/S19.js",
	"bin-debug/message/agreement/S2C/S2.js",
	"bin-debug/message/agreement/S2C/S20.js",
	"bin-debug/message/agreement/S2C/S21.js",
	"bin-debug/message/agreement/S2C/S22.js",
	"bin-debug/message/agreement/S2C/S23.js",
	"bin-debug/message/agreement/S2C/S24.js",
	"bin-debug/message/agreement/S2C/S25.js",
	"bin-debug/message/agreement/S2C/S26.js",
	"bin-debug/message/agreement/S2C/S27.js",
	"bin-debug/message/agreement/S2C/S3.js",
	"bin-debug/message/agreement/S2C/S4.js",
	"bin-debug/message/agreement/S2C/S5.js",
	"bin-debug/message/agreement/S2C/S6.js",
	"bin-debug/message/agreement/S2C/S7.js",
	"bin-debug/message/agreement/S2C/S8.js",
	"bin-debug/message/agreement/S2C/S9.js",
	"bin-debug/message/handler/HttpHandler.js",
	"bin-debug/message/handler/SocketManager.js",
	"bin-debug/test/Test.js",
	"bin-debug/utils/AssetAdapter.js",
	"bin-debug/utils/effect/CardRaiseEffect.js",
	"bin-debug/utils/effect/ChupaiEffect.js",
	"bin-debug/utils/effect/ChupaiTipsEffect.js",
	"bin-debug/utils/EffectTextUtils.js",
	"bin-debug/utils/Global.js",
	"bin-debug/utils/Heart.js",
	"bin-debug/utils/NativeApi.js",
	"bin-debug/utils/PopUpUtils.js",
	"bin-debug/utils/RegUtils.js",
	"bin-debug/utils/ThemeAdapter.js",
	"bin-debug/utils/UtilsClass/BitmapBlink.js",
	"bin-debug/utils/UtilsClass/TipsUtils.js",
	"bin-debug/utils/Weixin.js",
	"bin-debug/view/other/BgView.js",
	"bin-debug/view/other/chuanma/ChangeThreeCompleteView.js",
	"bin-debug/view/other/chuanma/ChangeThreeView.js",
	"bin-debug/view/other/chuanma/GangshangkaihuaView.js",
	"bin-debug/view/other/chuanma/GuafengView.js",
	"bin-debug/view/other/chuanma/HujiaozhuanyiView.js",
	"bin-debug/view/other/chuanma/PaiquView.js",
	"bin-debug/view/other/chuanma/QueView.js",
	"bin-debug/view/other/chuanma/RoomSceneScore.js",
	"bin-debug/view/other/chuanma/XiayuView.js",
	"bin-debug/view/other/chuanma/YipaoduoxiangView.js",
	"bin-debug/view/other/HeadIcon.js",
	"bin-debug/view/other/NoticeView.js",
	"bin-debug/view/other/WaitingPanel.js",
	"bin-debug/view/panel/BasePanel.js",
	"bin-debug/view/panel/activity/NoticePanel.js",
	"bin-debug/view/panel/chat/ChatContentExpression.js",
	"bin-debug/view/panel/chat/ChatItem.js",
	"bin-debug/view/panel/chat/ChatPanel.js",
	"bin-debug/view/panel/chat/ChatContentText.js",
	"bin-debug/view/panel/DissolutionPanel.js",
	"bin-debug/view/panel/linkClientType/ProtocolDialog.js",
	"bin-debug/view/panel/realname/RealnamePanel.js",
	"bin-debug/view/panel/record/RecordItem.js",
	"bin-debug/view/panel/record/RecordPanel.js",
	"bin-debug/view/panel/record/RecordXItem.js",
	"bin-debug/view/panel/roleinfo/RoleinfoPanel.js",
	"bin-debug/view/panel/ready/CreatePanel.js",
	"bin-debug/view/panel/ready/CreateXueliuView.js",
	"bin-debug/view/panel/ready/JoininPanel.js",
	"bin-debug/view/panel/rule/RulePanel.js",
	"bin-debug/view/panel/setting/SettingPanel.js",
	"bin-debug/view/panel/TipsAskPanel.js",
	"bin-debug/view/panel/BuycardPanel.js",
	"bin-debug/view/scene/BaseScene.js",
	"bin-debug/view/scene/game/RoomScene.js",
	"bin-debug/view/scene/game/GameScene.js",
	"bin-debug/view/scene/loading/DialogLoding.js",
	"bin-debug/view/scene/loading/LoadingScene.js",
	"bin-debug/view/scene/main/MainScene.js",
	"bin-debug/vo/BaseDataVo.js",
	"bin-debug/vo/ChangeThreeVo.js",
	"bin-debug/vo/DissolutionVo.js",
	"bin-debug/vo/GameRuleVo.js",
	"bin-debug/vo/PlayerVo.js",
	//----auto game_file_list end----
];

var window = this;

egret_native.setSearchPaths([""]);

egret_native.requireFiles = function () {
    for (var key in game_file_list) {
        var src = game_file_list[key];
        require(src);
    }
};

egret_native.egretInit = function () {
    egret_native.requireFiles();
    egret.TextField.default_fontFamily = "/system/fonts/DroidSansFallback.ttf";
    //egret.dom为空实现
    egret.dom = {};
    egret.dom.drawAsCanvas = function () {
    };
};

egret_native.egretStart = function () {
    var option = {
        //以下为自动修改，请勿修改
        //----auto option ready----
		entryClassName: "Main",
		frameRate: 30,
		scaleMode: "showAll",
		contentWidth: 960,
		contentHeight: 640,
		showPaintRect: false,
		showFPS: false,
		fpsStyles: "x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9",
		showLog: false,
		logFilter: "",
		maxTouches: 2,
		textureScaleFactor: 1
		//----auto option end----
    };

    egret.native.NativePlayer.option = option;
    egret.runEgret();
    egret_native.Label.createLabel(egret.TextField.default_fontFamily, 20, "", 0);
    egret_native.EGTView.preSetOffScreenBufferEnable(true);
};